//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated from a template.
//
//     Manual changes to this file may cause unexpected behavior in your application.
//     Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace DSRSystemCore.Core
{
    using System;
    using System.Collections.Generic;
    
    public partial class Company
    {
        public Company()
        {
            this.AlertCompaniesToFinals = new HashSet<AlertCompaniesToFinal>();
            this.AlertIndicatorsChangeds = new HashSet<AlertIndicatorsChanged>();
            this.CompaniesInGlobalCompactFilters = new HashSet<CompaniesInGlobalCompactFilter>();
            this.CompaniesQueries = new HashSet<CompaniesQuery>();
            this.CompanyAccessLogs = new HashSet<CompanyAccessLog>();
            this.CompanyIndexes = new HashSet<CompanyIndex>();
            this.CompanyKeyESGIssues = new HashSet<CompanyKeyESGIssue>();
            this.CompanyNotes = new HashSet<CompanyNote>();
            this.CompanyRatings = new HashSet<CompanyRating>();
            this.CUSIPs = new HashSet<CUSIP>();
            this.ISINs = new HashSet<ISIN>();
            this.ReportLogs = new HashSet<ReportLog>();
            this.Sedols = new HashSet<Sedol>();
            this.Sources = new HashSet<Source>();
            this.ThemeScores = new HashSet<ThemeScore>();
            this.Tickers = new HashSet<Ticker>();
            this.TopicScores = new HashSet<TopicScore>();
            this.Groups = new HashSet<Group>();
            this.StandardUniverses = new HashSet<StandardUnivers>();
            this.Indicators = new HashSet<Indicator>();
            this.Portfolios = new HashSet<Portfolio>();
            this.aspnet_Users4 = new HashSet<aspnet_Users>();
        }
    
        public System.Guid CompanyId { get; set; }
        public string Name { get; set; }
        public string GICSName { get; set; }
        public string Description { get; set; }
        public int Type { get; set; }
        public string Summary { get; set; }
        public Nullable<System.Guid> GICSSector { get; set; }
        public Nullable<System.Guid> PeerGroupSector { get; set; }
        public System.Guid CountryId { get; set; }
        public string Address { get; set; }
        public string Phone1 { get; set; }
        public string Phone2 { get; set; }
        public string ContactPerson { get; set; }
        public string Email { get; set; }
        public string Website { get; set; }
        public System.DateTime LastUpdate { get; set; }
        public System.Guid LastUpdateUserId { get; set; }
        public string Currency { get; set; }
        public System.Guid TotalEmployeesId { get; set; }
        public System.Guid TotalRevenueId { get; set; }
        public System.Guid NetIncomeId { get; set; }
        public System.Guid NEBTId { get; set; }
        public System.Guid BusinessDescriptionId { get; set; }
        public System.Guid MajorBrandsId { get; set; }
        public System.Guid MajorOwnershipId { get; set; }
        public int FiscalYearEndId { get; set; }
        public string InternalComment { get; set; }
        public Nullable<System.DateTime> LastComprehensiveUpdate { get; set; }
        public int OwnershipStructureId { get; set; }
        public int WorkingVersion { get; set; }
        public int WorkingStatus { get; set; }
        public bool Computing { get; set; }
        public System.DateTime LastFinalUpdate { get; set; }
        public bool StatusChanging { get; set; }
        public System.Guid MarketCapitalizationId { get; set; }
        public Nullable<System.Guid> MainTickerId { get; set; }
        public Nullable<System.Guid> MainSedolId { get; set; }
        public Nullable<System.Guid> MainISINId { get; set; }
        public string WorkingSummary { get; set; }
        public System.Guid DraftResponsibleUserId { get; set; }
        public string LatestAnnualReport { get; set; }
        public string LatestSustainabilityReport { get; set; }
        public System.DateTime CreationDate { get; set; }
        public string CIQID { get; set; }
        public Nullable<System.Guid> MainCUSIPId { get; set; }
        public int HoursPlanned { get; set; }
        public int HoursSpent { get; set; }
        public System.DateTime NextAnnualReport { get; set; }
        public System.DateTime NextSustainabilityReport { get; set; }
        public System.DateTime PlannedReleaseInitial { get; set; }
        public Nullable<System.DateTime> PlannedReleaseAdapted { get; set; }
        public bool HardDeadline { get; set; }
        public System.DateTime LastFinalControversyUpdate { get; set; }
        public bool InResearch { get; set; }
        public Nullable<System.DateTime> LatestRequestedFeedback { get; set; }
        public Nullable<System.Guid> ClientRequestGroupId { get; set; }
        public bool FullUpdate { get; set; }
        public Nullable<System.Guid> LastComprehensiveUpdateUserId { get; set; }
        public bool IsControversyResearchOnly { get; set; }
        public int FinalAnalystRatingId { get; set; }
        public int WorkingAnalystRatingId { get; set; }
        public int AutomatedAnalystRatingId { get; set; }
        public bool IsAutomatedAnalystRatingOverruled { get; set; }
        public string WorkingOverruleReason { get; set; }
        public string FinalOverruleReason { get; set; }
        public System.DateTime OverruleTimestamp { get; set; }
        public Nullable<System.DateTime> LatestReceivedFeedback { get; set; }
        public System.Guid PeerReviewerUserId { get; set; }
        public int Priority { get; set; }
        public bool IsParked { get; set; }
        public System.DateTime LastTransitionOnStandardWorkflow { get; set; }
        public string PeerReviewOverallAppraisal { get; set; }
        public string PeerReviewEngagementMatters { get; set; }
        public string PeerReviewSummary { get; set; }
        public Nullable<bool> PeerReviewSummary_ChangesAccepted { get; set; }
        public bool PeerReviewSummary_IsPeerReviewed { get; set; }
        public bool ReservedForSpecificAnalyst { get; set; }
        public bool ClientRequest { get; set; }
        public string WorkingAnalystCommentary { get; set; }
        public string FinalAnalystCommentary { get; set; }
        public string PeerReviewAnalystCommentary { get; set; }
        public Nullable<bool> PeerReviewAnalystCommentary_ChangesAccepted { get; set; }
        public bool PeerReviewAnalystCommentary_IsPeerReviewed { get; set; }
        public Nullable<double> Latitude { get; set; }
        public Nullable<double> Longitude { get; set; }
        public System.DateTime LastCorporateDataUpdate { get; set; }
        public string FinalLatestAnnualReport { get; set; }
        public string FinalLatestSustainabilityReport { get; set; }
        public Nullable<System.DateTime> FinalLatestRequestedFeedback { get; set; }
        public Nullable<System.DateTime> FinalLatestReceivedFeedback { get; set; }
        public System.DateTime LastCentralizedResearchUpdate { get; set; }
    
        public virtual ICollection<AlertCompaniesToFinal> AlertCompaniesToFinals { get; set; }
        public virtual ICollection<AlertIndicatorsChanged> AlertIndicatorsChangeds { get; set; }
        public virtual AnalystRating AnalystRating { get; set; }
        public virtual AnalystRating AnalystRating1 { get; set; }
        public virtual AnalystRating AnalystRating2 { get; set; }
        public virtual aspnet_Users aspnet_Users { get; set; }
        public virtual aspnet_Users aspnet_Users1 { get; set; }
        public virtual aspnet_Users aspnet_Users2 { get; set; }
        public virtual aspnet_Users aspnet_Users3 { get; set; }
        public virtual Country Country { get; set; }
        public virtual CUSIP CUSIP { get; set; }
        public virtual FiscalYearEnd FiscalYearEnd { get; set; }
        public virtual Group Group { get; set; }
        public virtual Indicator Indicator { get; set; }
        public virtual Indicator Indicator1 { get; set; }
        public virtual Indicator Indicator2 { get; set; }
        public virtual Indicator Indicator3 { get; set; }
        public virtual Indicator Indicator4 { get; set; }
        public virtual Indicator Indicator5 { get; set; }
        public virtual Indicator Indicator6 { get; set; }
        public virtual Indicator Indicator7 { get; set; }
        public virtual ISIN ISIN { get; set; }
        public virtual OwnershipStructure OwnershipStructure { get; set; }
        public virtual Sector Sector { get; set; }
        public virtual Sector Sector1 { get; set; }
        public virtual Sedol Sedol { get; set; }
        public virtual Ticker Ticker { get; set; }
        public virtual WorkflowStatu WorkflowStatu { get; set; }
        public virtual ICollection<CompaniesInGlobalCompactFilter> CompaniesInGlobalCompactFilters { get; set; }
        public virtual ICollection<CompaniesQuery> CompaniesQueries { get; set; }
        public virtual CompanyType CompanyType { get; set; }
        public virtual ICollection<CompanyAccessLog> CompanyAccessLogs { get; set; }
        public virtual ICollection<CompanyIndex> CompanyIndexes { get; set; }
        public virtual ICollection<CompanyKeyESGIssue> CompanyKeyESGIssues { get; set; }
        public virtual ICollection<CompanyNote> CompanyNotes { get; set; }
        public virtual ICollection<CompanyRating> CompanyRatings { get; set; }
        public virtual ICollection<CUSIP> CUSIPs { get; set; }
        public virtual ICollection<ISIN> ISINs { get; set; }
        public virtual ICollection<ReportLog> ReportLogs { get; set; }
        public virtual ICollection<Sedol> Sedols { get; set; }
        public virtual ICollection<Source> Sources { get; set; }
        public virtual ICollection<ThemeScore> ThemeScores { get; set; }
        public virtual ICollection<Ticker> Tickers { get; set; }
        public virtual ICollection<TopicScore> TopicScores { get; set; }
        public virtual ICollection<Group> Groups { get; set; }
        public virtual ICollection<StandardUnivers> StandardUniverses { get; set; }
        public virtual ICollection<Indicator> Indicators { get; set; }
        public virtual ICollection<Portfolio> Portfolios { get; set; }
        public virtual ICollection<aspnet_Users> aspnet_Users4 { get; set; }
    }
}
